
import request from "@/utils/request";

// let baseUrl = 'http://10.168.1.213:8064'
// let baseUrl = 'http://localhost:8080'
// let baseUrl = 'http://10.168.1.123:8064'   //测试环境
// let baseUrl = 'http://10.168.1.222:8064'
let baseUrl = ''


export function getMaintenanceList1(data) {
  return request({
    url:   baseUrl +"/freq/maintain/records",
    //url:  baseUrl + "/freq/onlineMonitor/onlineMonitor",
    method: "post",
    data:data || {}
  });
}

// 在线监测列表
export function getMaintenanceList(data) {
    return request({
      // url:   baseUrl +"/freq/maintain/records",
      url:  baseUrl + "/freq/onlineMonitor/onlineMonitor",
      method: "post",
      data:data || {}
    });
  }


  // 在线监测原始数据
  export function getOnlineRawData(data) {
    return request({
      // url:   baseUrl +"/freq/maintain/records",
      url:  baseUrl + "/freq/onlineMonitor/rawData",
      method: "post",
      data:data || {}
    });
  }